package com.thinkgem.jeesite.modules.spider.common;

import java.text.SimpleDateFormat;

import org.springframework.ui.Model;

public interface SpiderController {
	SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");

	void init();

	String startJob(Model model);

	String restartJob(Model model);

	String stopJob(Model model);

	boolean isSpiderRunning();

	int aliveThreadNum();
}
